/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 规则配置
 *
 * @author wangyl
 * @date 2023-06-05 09:10:49
 */
@Data
@TableName("sys_config")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "规则配置")
public class SysConfig extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="id")
    private Integer id;

    /**
     * 初始行为分
     */
    @Schema(description ="初始行为分")
    private Integer initialScore;

    /**
     * 获得5星评价
     */
    @Schema(description ="获得5星评价")
    private Integer fiveScore;

    /**
     * 获得4星评价
     */
    @Schema(description ="获得4星评价")
    private Integer fourScore;

    /**
     * 获得3星评价
     */
    @Schema(description ="获得3星评价")
    private Integer threeScore;

    /**
     * 获得2星评价
     */
    @Schema(description ="获得2星评价")
    private Integer twoScore;

    /**
     * 获得1星评价
     */
    @Schema(description ="获得1星评价")
    private Integer oneScore;

    /**
     * 最低行为分
     */
    @Schema(description ="最低行为分")
    private Integer lowestScore;

    /**
     * 邀请奖励
     */
    @Schema(description ="邀请奖励")
    private Integer invitationBonus;

    /**
     * 订单返佣
     */
    @Schema(description ="订单返佣")
    private Integer orderRebate;

    /**
     * 平台抽点
     */
    @Schema(description ="平台抽点")
    private Integer platformSnapshot;


}
